Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stateCd "whatNWISsites" function fix #729

Merged
merged 3 commits into from
Oct 2, 2024

Conversation

ldecicco-USGS
Copy link
Collaborator

Two things here:

  1. When we changed the stateCd stuff for readNWISdata, it also changed it for whatNWISsites. Since in whatNWISsites we're still hitting the "waterservices" endpoint (not "waterdata"), we don't want that to happen.
  2. A user wanted to do:
whatNWISsites(stateCd = "NY", service="gwlevels") 

That's cool...but it wasn't something we were doing. I added a line that took the service argument and converted it to the appropriate "hasDataTypeCd" argument

@ldecicco-USGS ldecicco-USGS merged commit d6bf488 into DOI-USGS:main Oct 2, 2024
6 of 7 checks passed
@ldecicco-USGS ldecicco-USGS deleted the more_st_cds branch October 23, 2024 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant